package cn.wolfcode.trip.base.util;

import org.springframework.util.StringUtils;

public abstract class StringUtil {

    public static String empty2null(String str){

        return StringUtils.hasLength(str)?str:null;
    }
}
